#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include <string>
using namespace std;

int main() {
    string s;
    cin >> s;
    for (int i = 0; i < s.size(); ++i) {
        if (s[i] == ' ')
            continue;
        if (s[i] >= 'a' && s[i] <= 'z') {
            if (s[i] == 'a')
                s[i] = 'z';
            else
                s[i]--;;
        }
        else {
            if (s[i] == 'A')
                s[i] = 'Z';
            else
                s[i]--;
        }
    }
    cout << s << endl;
    return 0;
}